Child application development method and apparatus, computer device, and storage medium

ABSTRACT

This disclosure includes a child application development method. In the method, an interface of a child application developer tool is displayed. The child application developer tool is a native child application developer tool of a first parent application that is configured with an extension corresponding to development processing for a child application of a second parent application. A development instruction for the child application of the second parent application is received via the interface. In response to the development instruction, a child application base library of the second parent application is obtained via the child application developer tool. A child application running environment of the second parent application is created by loading the child application base library. Further, development processing for the child application of the second parent application is performed in the child application running environment.

RELATED APPLICATIONS

This application is a continuation of International Application No.PCT/CN2020/080490, entitled “SUB-APPLICATION DEVELOPMENT METHOD,APPARATUS, COMPUTER DEVICE, AND STORAGE MEDIUM” and filed on Mar. 20,2020, which claims priority to Chinese Patent Application No.201910281384.1, entitled “CHILD APPLICATION DEVELOPMENT METHOD ANDAPPARATUS, COMPUTER DEVICE, AND STORAGE MEDIUM” and filed on Apr. 9,2019. The entire disclosures of the prior applications are herebyincorporated by reference in their entirety.

FIELD OF THE TECHNOLOGY

This disclosure relates to the field of computer technologies, includinga child application development method and apparatus, a computer device,and a storage medium.

BACKGROUND OF THE DISCLOSURE

With the rapid development of science and technology, a large number ofadvanced technologies are constantly emerging. Mini program is a newtechnology and product form. The so-called mini program is anapplication that can be used without being downloaded and installed.Developers may develop corresponding mini programs for applications of aterminal. The application of the terminal may be any application run onan operating system of the terminal. The mini programs may be embeddedin the applications of the terminal as child applications. Morediversified services may be provided for users by running childapplications (e.g., corresponding mini programs) in the applications.Developers of the mini programs may use developer tools to develop themini programs.

In related technologies, to develop a mini program corresponding to anapplication of a terminal, a developer of the mini program needs todevelop a dedicated developer tool for the application, and then use thededicated developer tool to develop the mini program corresponding tothe application. In this case, a large quantity of man power and deviceresources need to be consumed to develop the mini program, resulting inrelatively high costs.

SUMMARY

In view of the above, a child application development method andapparatus, a computer device, and a non-transitory computer-readablestorage medium are provided, that can lower costs of developing a miniprogram.

A child application development method is provided. In the method, aninterface of a child application developer tool is displayed. The childapplication developer tool is a native child application developer toolof a first parent application that is configured with an extensioncorresponding to development processing for a child application of asecond parent application. The second parent application is differentfrom the first parent application. A development instruction for thechild application of the second parent application is received via theinterface. In response to the development instruction, a childapplication base library of the second parent application is obtainedvia the child application developer tool. A child application runningenvironment of the second parent application is created by loading thechild application base library. Further, development processing for thechild application of the second parent application is performed in thechild application running environment

A child application development apparatus is provided. The apparatusincludes processing circuitry that is configured to display an interfaceof a child application developer tool. The child application developertool is a native child application developer tool of a first parentapplication that is configured with an extension corresponding todevelopment processing for a child application of a second parentapplication, the second parent application being different from thefirst parent application. The processing circuitry is configured toreceive a development instruction for the child application of thesecond parent application via the interface, and obtain, in response tothe development instruction, a child application base library of thesecond parent application via the child application developer tool. Theprocessing circuitry is configured to create a child application runningenvironment of the second parent application by loading the childapplication base library. Further, the processing circuitry isconfigured to perform development processing for the child applicationof the second parent application in the child application runningenvironment.

A computer device is provided, including a memory and a processor, thememory storing a computer program, the computer program, when executedby the processor, causing the processor to perform the followingoperations. An interface of a child application developer tool isdisplayed. The child application developer tool is a native childapplication developer tool of a first parent application that isconfigured with an extension corresponding to development processing fora child application of a second parent application. The second parentapplication is different from the first parent application. Adevelopment instruction for the child application of the second parentapplication is received via the interface. In response to thedevelopment instruction, a child application base library of the secondparent application is obtained via the child application developer tool.A child application running environment of the second parent applicationis created by loading the child application base library. Further,development processing for the child application of the second parentapplication is performed in the child application running environment.

A non-transitory computer-readable storage medium is provided. Themedium stores instructions which when executed by a processor cause theprocessor to perform the following operations. An interface of a childapplication developer tool is displayed. The child application developertool is a native child application developer tool of a first parentapplication that is configured with an extension corresponding todevelopment processing for a child application of a second parentapplication. The second parent application is different from the firstparent application. A development instruction for the child applicationof the second parent application is received via the interface. Inresponse to the development instruction, a child application baselibrary of the second parent application is obtained via the childapplication developer tool. A child application running environment ofthe second parent application is created by loading the childapplication base library. Further, development processing for the childapplication of the second parent application is performed in the childapplication running environment.

According to the child application development method and apparatus, thecomputer device, and the storage medium described above, when a childapplication of a second parent application is developed, customizedextension is performed on an existing child application developer toolof another application (e.g., a first parent application), to obtain achild application developer tool of the second parent application, achild application base library of the second parent application isobtained by using the child application developer tool, and further, arunning environment is provided for the child application of the secondparent application by loading the child application base library, toimplement development processing for the child application of the secondparent application based on the running environment. Therefore, it isunnecessary to develop a native child application developer tool for thesecond parent application again, thereby reducing costs.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a diagram of an application scenario of a child applicationdevelopment method according to an embodiment.

FIG. 2 is a schematic flowchart of a child application developmentmethod according to an embodiment.

FIG. 3 is a diagram of a display interface of a mode option setaccording to an embodiment.

FIG. 4 is a schematic diagram of a plug-in management interfaceaccording to an embodiment.

FIG. 5 is a schematic diagram of a plug-in management interfaceaccording to another embodiment.

FIG. 6 is a schematic diagram of display of a child applicationsimulator plug-in according to an embodiment.

FIG. 7 is a schematic diagram of customized display according to anembodiment.

FIG. 8 is a schematic diagram of customized processing on calling of atarget interface according to an embodiment.

FIG. 9 is a schematic diagram of customized processing on a target eventaccording to an embodiment.

FIG. 10 is a diagram of a base library version selection interfaceaccording to an embodiment.

FIG. 11 is a block diagram of a child application development apparatusaccording to another embodiment.

FIG. 12 is a block diagram of a child application development apparatusaccording to another embodiment.

FIG. 13 is a block diagram of a computer device according to anembodiment.

DESCRIPTION OF EMBODIMENTS

To make the objectives, technical solutions, and advantages of thisdisclosure clearer, the following further describes this disclosure indetail with reference to the accompanying drawings and the embodiments.It is to be understood that the specific embodiments described hereinare merely used to explain this disclosure and are not intended to limitthe scope of this disclosure.

FIG. 1 is a diagram of an application scenario of a child applicationdevelopment method according to an embodiment. Referring to FIG. 1 , theapplication scenario includes a terminal 110 and a server 120. Theterminal 110 may be a smart TV, a smart speaker, a desktop computer, ora mobile terminal, and the mobile terminal may include at least one of amobile phone, a tablet computer, a notebook computer, a personal digitalassistant, and a wearable device. The server 120 may be implemented byan independent server or a server cluster that includes a plurality ofphysical servers.

The server 120 may store a child application developer tool. Theterminal 110 may download the child application developer tool locallyfrom the server 120. The terminal 110 may display an interface of thechild application developer tool locally at the terminal 110. The childapplication developer tool is obtained by performing customizedextension on a native child application developer tool of a first parentapplication. The customized extension is related to developmentprocessing for a child application of a second parent application. Thesecond parent application is different from the first parentapplication. The terminal 110 may receive a development triggerinstruction for the child application of the second parent applicationthrough the interface, and obtain, in response to the developmenttrigger instruction, a child application base library of the secondparent application by using the child application developer tool. Theterminal 110 may create a child application running environment of thesecond parent application by loading the child application base library,and perform development processing for the child application of thesecond parent application in the child application running environment.

When a child application is run, an interface provided by a parentapplication or an interface provided by an operating system needs to becalled. A child application base library describes software or aninstruction that needs to be executed when a child application is run,and a corresponding interface may be called by executing the software orthe instruction, to implement a function of the child application.Therefore, a child application running environment may be created byloading the child application base library. The child applicationrunning environment may be considered as a running platform of the childapplication, and the child application running environment provides thesoftware or the instruction that needs to be executed when the childapplication is run, thereby providing a function of calling aninterface. The child application may call a corresponding interface toimplement a function of the child application.

In another embodiment, the server 120 may not directly store the childapplication developer tool after the customized extension, and instead,stores the native child application developer tool of the first parentapplication. The terminal 110 may download a native child applicationdeveloper tool of the first parent application locally from the server120, and perform customized extension corresponding to developmentprocessing for the child application of the second parent application onthe native child application developer tool, to obtain a childapplication developer tool after the customized extension. The terminal110 further displays the child application developer tool after thecustomized extension.

FIG. 2 is a schematic flowchart of a child application developmentmethod according to an embodiment. This embodiment is mainly describedby using an example in which the child application development method isapplied to a computer device. The computer device may be the terminal110 in FIG. 1 . Referring to FIG. 2 , the method may include thefollowing steps.

In step S202, an interface of a child application developer tool isdisplayed, the child application developer tool being obtained byperforming customized extension corresponding to development processingfor a child application of a second parent application based on a nativechild application developer tool of a first parent application, thesecond parent application being different from the first parentapplication.

The child application developer tool is a developer tool for developingand debugging a child application. The developer tool (e.g., anintegrated development environment (IDE)) is a type of applicationsoftware for assisting in developing a computer program. The childapplication developer tool may be configured to provide a visualoperating interface, to help a developer to complete the research anddevelopment of a child application.

A child application is an application program that can be implemented inan environment provided by a parent application. In an embodiment, achild application may be a mini program, an official account, or thelike in a parent application. A parent application is an applicationprogram carrying a child application and provides an environment forimplementation of the child application. The parent application is anative application program. The native application is an applicationthat may be directly run on the operating system.

In this embodiment, the child application developer tool in step S202 isobtained by performing customized extension on a native childapplication developer tool of a first parent application. The customizedextension is an extension corresponding to development processing for achild application of a second parent application. That is, the childapplication developer tool is obtained by performing customizedextension corresponding to development processing for a childapplication of a second parent application for a native childapplication developer tool of a first parent application.

A native child application developer tool of the first parentapplication is a tool that is not modified through extension and that isdedicated to developing a child application of the first parentapplication.

The second parent application is different from the first parentapplication, that is, the second parent application is a third-partyapplication other than the first parent application.

The customized extension corresponding to development processing for achild application of a second parent application means that expansionthat can meet a personalization requirement of the child application ofthe second parent application is performed based on the native childapplication developer tool of the first parent application. That is, apersonalization function of the child application of the second parentapplication is added to the native child application developer tool ofthe first parent application. It may be understood that, only the childapplication of the second parent application developed based on theextended child application developer tool can be adapted to the secondparent application, to be implemented in an environment provided by thesecond parent application.

In an embodiment, the second parent application is at least one parentapplication. That is, the child application developer tool may beobtained by performing customized extension corresponding to developmentprocessing for a child application of at least one second parentapplication based on a native child application developer tool of afirst parent application. That is, customized extension corresponding toone or more second parent applications may be performed in the nativechild application developer tool.

For example, the first parent application is A, the native childapplication developer tool is IDE₁, and corresponding child applicationsneed to be developed respectively for second parent applications B andC. Both expansion corresponding to development processing for a childapplication of B and expansion corresponding to development processingfor a child application of C are performed in the native childapplication developer tool IDE₁, to obtain a developer tool IDE₂. Inthis way, development processing for the child application of B may anddevelopment processing for the child application of C can be implementedbased on IDE₂.

In an embodiment, the first parent application and the second parentapplication may be any one of a social application program, a dedicatedapplication program specially supporting the child application, a filemanagement application program, an email application program, a gameapplication program, or the like. The social application includes aninstant messaging application, a social network service (SNS), a livebroadcast application, or the like. It may be understood that, this isonly for exemplary description, and is not intended to limit types ofthe first parent application and the second parent application. Anyparent application in which a child application needs to be developedmay be the first parent application or the second parent application.

The second parent application being different from the first parentapplication does not define that the types of the first parentapplication and the second parent application are different. The secondparent application and the first parent application may alternatively bedifferent applications of the same type. It may be understood that, thecomputer device may perform customized extension on the native childapplication developer tool of the first parent application in a mannerof adding a plug-in. The manner of adding a plug-in is to dynamicallyand flexibly perform customized extension on the native childapplication developer tool of the first parent application. Thedeveloper may alternatively edit the native child application developertool of the first parent application, to perform customized extension onthe native child application developer tool. This manner is permanentextension. That is, a new child application developer tool is developedbased on the native child application developer tool of the first parentapplication. That is, content of the customized extension is a part ofthe child application developer tool, and is not strippable plug-incontent any more.

The computer device may run the child application developer tool, tofurther display an interface of the child application developer tool.

In an embodiment, in response to a new and complete child applicationdeveloper tool being obtained by editing the native child applicationdeveloper tool of the first parent application, the computer device maydirectly download the child application developer tool from a server.Further, the computer device may run the downloaded child applicationdeveloper tool, to display the interface of the child applicationdeveloper tool.

In another embodiment, in response to the child application developertool being obtained by performing customized extension in a manner ofadding a plug-in to the native child application developer tool of thefirst parent application, the computer device may download the nativechild application developer tool of the first parent application fromthe server, and then add the plug-in to the native child applicationdeveloper tool, to obtain the child application developer tool. Further,the computer device may run the child application developer tool, todisplay the interface of the child application developer tool.

In step S204, a development trigger instruction for the childapplication of the second parent application is received through theinterface.

The development trigger instruction is used for triggering to performdevelopment processing for the child application of the second parentapplication.

In an embodiment, a user may perform a preset action (e.g., an action ora combination of actions such as a press and a hold, a slide, or aclick) for the interface, and the computer device generates adevelopment trigger instruction for the child application of the secondparent application after detecting the preset action.

In an embodiment, a development trigger control may further be displayedin the interface, and the computer device may generate a developmenttrigger instruction for the child application of the second parentapplication when detecting a trigger operation for the developmenttrigger control. The development trigger control is a control configuredto trigger development processing for the child application of thesecond parent application.

In an embodiment, step S204 includes: displaying a mode option set inthe interface, the mode option set including an option of a childapplication development mode of the second parent application; andgenerating, in response to a selection operation on the option in themode option set being detected, the development trigger instruction forthe child application of the second parent application.

The mode option set includes at least one mode option. The mode optionis an option corresponding to a mode. It may be understood that, thechild application developer tool provides different environments fordifferent modes. In an embodiment, the mode corresponding to the modeoption in the mode option set may include a child applicationdevelopment mode of the second parent application, may further include achild application development mode of the first parent application, mayfurther include a child application test mode of the first parentapplication, or may further include a child application test mode of thesecond parent application.

The child application development mode of the second parent applicationrefers to a mode of developing the child application of the secondparent application, and is used for providing an environment fordeveloping the child application of the second parent application.

It may be understood that, when there are a plurality of second parentapplications, each second parent application has a corresponding childapplication development mode option. That is, when there is a pluralityof second parent applications, the mode option set includes options ofchild application development modes of the plurality of second parentapplications. That is, different second parent applications need toenter corresponding child application development modes throughdifferent entries.

For example, if there are second parent applications B and C, the modeoption set may include an option of a child application development modeof the second parent application B and an option of a child applicationdevelopment mode of the second parent application C. If a childapplication of the second parent application B needs to be developed,the option of the child application development mode of the secondparent application B needs to be selected. If a child application of thesecond parent application C needs to be developed, the option of thechild application development mode of the second parent application Cneeds to be selected.

In an embodiment, the mode option set may alternatively include anoption of a child application development mode of a parent applicationother than the second parent application. In an embodiment, the modeoption set may alternatively include an option of a child applicationdevelopment mode of the first parent application. In an embodiment, themode option set may alternatively include a plug-in mode. The plug-inmode is used for providing an environment for developing a plug-in.

In an embodiment, the computer device may display a mode option set inthe interface. The user may select an option from the mode option set.The computer device may detect the option selected from the mode optionset. If the selected option is the option of the child applicationdevelopment mode of the second parent application, the computer devicemay generate a development trigger instruction for the child applicationof the second parent application corresponding to the option.

It may be understood that, the option of the child applicationdevelopment mode of the second parent application is equivalent to adevelopment entry of the child application of the second parentapplication. After the option is selected, development processing forthe child application of the second parent application may be triggered.

It may be understood that, if the mode option set includes options ofchild application development modes of a plurality of second parentapplications, a user may select an option of a child applicationdevelopment mode of a second parent application therefrom, and thecomputer device may detect the option, and generate a developmenttrigger instruction for a child application of the second parentapplication corresponding to the option. That is, when an optioncorresponding to a specific second parent application is selected,generation of a development trigger instruction for a child applicationof the second parent application is triggered.

In an embodiment, the computer device may directly display the modeoption set in the interface of the child application developer tool.

In another embodiment, the computer device may alternatively display amode selection entry in the interface of the child application developertool. The mode selection entry is configured to display a mode optionset after being triggered. The user may perform a trigger operation onthe mode selection entry, and after detecting the trigger operation, thecomputer device displays the mode option set in the interface of thechild application developer tool. In an embodiment, the mode selectionentry may be presented in a form of a drop-down box.

For ease of understanding, exemplary descriptions are provided withreference to FIG. 3 . FIG. 3 is a diagram of a display interface of amode option set according to an embodiment. Referring to FIG. 3 , theuser performs a trigger operation on a mode selection entry 302 in atoolbar to display a mode option set 304. The mode option set 304includes an option of a child application development mode of a firstparent application A, an option of a plug-in mode, and options of childapplication development modes of a plurality of second parentapplications (e.g., the second parent application B and the secondparent application C.) In FIG. 3 , if a user selects the option of thechild application development mode of the second parent application B,the child application developer tool may present a code editing region,a debugging region, and a simulator display region in this mode.

In step S206, in response to the development trigger instruction, achild application base library of the second parent application isobtained by using the child application developer tool.

The child application base library is configured to provide anenvironment for running a child application.

It may be understood that, a child application base library, that is, aruntime library, describes software/an instruction that is executed whenthe child application is run, and in particular, an instruction that iscritical to normal running of the child application. That is, a childapplication base library is equivalent to encapsulating capabilities ofa third-party client and a mobile terminal to provide an environment forrunning of the child application.

In an embodiment, in response to the child application developer toolbeing obtained by editing the native child application developer tool ofthe first parent application, the computer device may obtain a childapplication base library of the second parent application from a file ofthe child application developer tool after receiving the developmenttrigger instruction. In response to the child application developer toolbeing obtained by adding a plug-in to the native child applicationdeveloper tool of the first parent application, the computer device mayobtain the child application base library of the second parentapplication from related information of the plug-in after receiving thedevelopment trigger instruction. In an embodiment, the relatedinformation of the plug-in may be a configuration file of the plug-in.

In an embodiment, the child application base library of the secondparent application may have at least one base library version. If thechild application base library has a plurality of base library versions,the computer device may obtain a child application base librarycorresponding to a designated base library version. The computer devicemay alternatively obtain a child application base library correspondingto a latest base library version by default.

In an embodiment, the interface of the child application developer toolincludes a selection entry of the child application base library. Inresponse to the development trigger instruction being received, thecomputer device may detect a base library version currently designatedin the selection entry, and obtain a child application base librarycorresponding to the base library version currently designated. It maybe understood that, a user may perform a trigger operation on theselection entry, to redesignate a base library version, and the computerdevice may obtain and load, in response to the operation, a childapplication base library corresponding to the redesignated base libraryversion.

In step S208, a child application running environment of the secondparent application is created by loading the child application baselibrary.

The child application running environment is an environment provided forrunning of the child application of the second parent application.

In an embodiment, the computer device may load the child applicationbase library, to provide a running environment for the child applicationof the second parent application.

It may be understood that, loading the child application base library isequivalent to injecting a customized child application base library ofthe second parent application, to provide an environment for running ofthe child application of the second parent application. That is, thechild application of the second parent application is executable in acreated child application running environment.

The child application running environment of the second parentapplication can satisfy running requirements of all child applicationsof the second parent application. For example, if the second parentapplication has a plurality of child applications, c1, c2, and c3, inthe child application running environment of the second parentapplication, development processing for the child applications c1, c2,and c3 of the second parent application may be implemented separately.

In step S210, development processing for the child application of thesecond parent application is performed in the child application runningenvironment.

In an embodiment, the computer device may perform, in response to adevelopment instruction inputted by the user for the child applicationof the second parent application, development processing, such asdevelopment code editing, development code debugging, and programreleasing, for the child application of the second parent application inthe child application running environment, to develop a childapplication dedicated to the second parent application.

The development code debugging is implemented by combining codecompiling, simulation display, a child application operation, codemodification debugging, and the like.

In an embodiment, a development code editing region, a development codedebugging region, a child application simulator display region, and thelike are integrated in the child application developer tool, so that theuser can develop the child application.

Because the customized extension corresponding to development processingfor the child application of the second parent application isimplemented in the child application developer tool, during developmentof the child application of the second parent application, personalizedprocessing corresponding to the child application of the second parentapplication may be further implemented according to information of thecustomized extension.

According to the foregoing child application development method, whendeveloping a child application of a second parent application, acustomized child application base library of the second parentapplication is obtained by performing customized extension on anexisting child application developer tool of another application (e.g.,a first parent application), and further a running environment isprovided for the child application of the second parent application byloading the child application base library, to implement developmentprocessing for the child application of the second parent applicationbased on the running environment. Therefore, it is unnecessary todevelop a native child application developer tool for the second parentapplication again, thereby reducing costs.

In addition, compared with redeveloping a specific child applicationdeveloper tool for the second parent application, the child applicationdevelopment solution in this embodiment of this disclosure consumes lesstime, so that the development efficiency of the child application can beimproved.

In an embodiment, the child application developer tool is obtained afterinstalling a child application simulator plug-in of the second parentapplication in the native child application developer tool of the firstparent application. In this embodiment, the obtaining a childapplication base library of the second parent application by using thechild application developer tool in step S206 includes: selecting thechild application base library of the second parent application from aconfiguration file of the child application simulator plug-in by usingthe child application developer tool.

The child application simulator plug-in of the second parent applicationis configured to implement customized development processing for thechild application of the second parent application.

The child application simulator plug-in has a correspondingconfiguration file, and the configuration file includes the childapplication base library of the second parent application.

The computer device may select the child application base library of thesecond parent application from the configuration file of the childapplication simulator plug-in by using the child application developertool. The computer device may load the selected child application baselibrary of the second parent application, to create a child applicationrunning environment of the second parent application.

It may be understood that, different second parent applicationscorrespond to different child application simulator plug-ins.

For example, a child application simulator plug-in corresponding to thesecond parent application B is p1, and a child application simulatorplug-in corresponding to the second parent application C is p2. p1 andp2 correspond to different configuration files respectively. Theconfiguration file of p1 includes the child application base library ofthe second parent application B. The configuration file of p2 includesthe child application base library of the second parent application C.

In the foregoing embodiment, customized extension is performed on anative child application developer tool of a first parent application ina manner of adding a child application simulator plug-in, so that thechild application simulator plug-in and the native child applicationdeveloper tool can be highly decoupled. In this way, a plurality oftypes of child applications of a second parent application may bedeveloped through a native child application developer tool by addingdifferent plug-ins, thereby further saving development resources.

In addition, because the child application simulator plug-in and thenative child application developer tool are highly decoupled, the childapplication simulator plug-in may be updated according to its own statuswithout being limited by an update status of the native childapplication developer tool of the first parent application.

In an embodiment, before step S202, the method further includes:displaying a plug-in management interface provided by the native childapplication developer tool of the first parent application, the plug-inmanagement interface including an identifier of the child applicationsimulator plug-in of the second parent application; and installing, inresponse to a trigger operation on the identifier being detected, thechild application simulator plug-in corresponding to the identifier tothe native child application developer tool.

The plug-in management interface is configured to manage a plug-in. Theplug-in management interface includes an identifier of the plug-in. Theidentifier of the plug-in is a presentation form of the plug-in in theplug-in management interface.

In an embodiment, the identifier of the plug-in in the plug-inmanagement interface may include identifiers of installed anduninstalled plug-ins.

In an embodiment, before step S202, the computer device may run thenative child application developer tool of the first parent application,and display the plug-in management interface by using the native childapplication developer tool of the first parent application, to displaythe identifier of the plug-in in the plug-in management interface.

In an embodiment, the computer device may display a plug-in managemententry in the interface of the native child application developer tool ofthe first parent application, and display, in response to a triggeroperation on the plug-in management entry being detected, the plug-inmanagement interface in the native child application developer tool ofthe first parent application. The plug-in management entry is configuredto display the plug-in management interface after being triggered.

In an embodiment, the plug-in management entry may correspond to aplug-in option in a toolbar. The computer device may display the plug-inoption in a toolbar of the native child application developer tool ofthe first parent application, the plug-in option being corresponding tothe plug-in management entry, and trigger, in response to a triggeroperation for the plug-in option being detected, a plug-in managemententry corresponding to the plug-in option, to trigger display of theplug-in management interface.

The identifier of the plug-in in the plug-in management interfaceincludes an identifier of the child application simulator plug-in of thesecond parent application. The user may perform a trigger operation onthe identifier of the child application simulator plug-in of the secondparent application, and the computer device installs, in response to thetrigger operation on the identifier being detected, the childapplication simulator plug-in of the second parent applicationcorresponding to the identifier to the native child applicationdeveloper tool. Therefore, the customized extension corresponding todevelopment processing for the child application of the second parentapplication is implemented on the native child application developertool.

FIG. 4 and FIG. 5 are schematic diagrams of a plug-in managementinterface according to an embodiment. Referring to FIG. 4 , a user mayselect a “Plug-in” option (e.g., the “plug-in” option is the plug-inmanagement entry) in a “Tool” option in a native child applicationdeveloper tool interface of the first parent application A, to triggergeneration of a plug-in management interface S502 in FIG. 5 . The usermay perform a trigger operation on an “Add” button S504. That is, achild application simulator plug-in of the second parent application Bmay be installed in the native child application developer tool of thefirst parent application.

In an embodiment, the plug-in management interface may includeidentifiers of child application simulator plug-ins of a plurality ofsecond parent applications. In this case, the installing, in response toa trigger operation on the identifier being detected, the childapplication simulator plug-in corresponding to the identifier to thenative child application developer tool includes: detecting the triggeroperation on the identifier of the child application simulator plug-inin the plug-in management interface, to determine an identifier of achild application simulator plug-in to which the trigger operation isdirected; and installing the child application simulator plug-in of thesecond parent application corresponding to the identifier to the nativechild application developer tool.

In an embodiment, the user may select to trigger an identifier of achild application simulator plug-in corresponding to a second parentapplication in which a child application needs to be developed, and thecomputer device may detect the identifier of the child applicationsimulator plug-in to which the trigger operation is directed, andinstall the child application simulator plug-in of the second parentapplication corresponding to the identifier to the native childapplication developer tool.

In the foregoing embodiment, the child application simulator plug-in isselectively added by a developer instead of being written into adeveloper tool by using code, leading to higher flexibility, so that thechild application simulator plug-in, which means an excessively largeamount of data to some users, can be prevented from being entirely andfixedly written into the developer tool and causing unnecessary waste ofresources.

In an embodiment, the native child application developer tool includes achild application simulator. The child application simulator isconfigured to simulate performance of the child application currentlydeveloped in the second parent application. In this embodiment, stepS210 includes: simulating, by using the child application simulator, aninterface presented in a simulator display region of the childapplication developer tool in a case that a child application currentlydeveloped is run in the second parent application based on the childapplication running environment; generating, in response to a presetsimulation operation performed for the child application simulator beingdetected by using the child application simulator plug-in, a simulationinterface corresponding to the preset simulation operation by using thechild application simulator plug-in; and covering, for display, thesimulation interface on the interface of which presentation issimulated.

The child application simulator is configured to simulate real logicperformance of a child application currently developed in the secondparent application, and for all of a plurality of interfaces, correctstates can be presented in the child application simulator. It may beunderstood that, the child application simulator is equivalent tosimulating a state that is presented when a child application isnormally run in the second parent application.

The simulator display region is a region configured to display aninterface simulated by the child application simulator.

The preset simulation operation is a predesignated operation used fortriggering simulation processing.

The simulation interface is an interface displayed through thesimulation processing. It may be understood that, the child applicationsimulator plug-in also has a display simulating function. The simulationinterface generated by the child application simulator plug-in is acustomized interface that can express personalization of the secondparent application in addition to the interface presented by the childapplication simulator.

In an embodiment, the preset simulation operation includes simulatingexecution of an operation on the second parent application.

In another embodiment, the preset simulation operation may alternativelyinclude simulating an operation of returning to a home page, simulatingan operation of returning to a previous interface, and the like.

In an embodiment, the computer device may compile development codethrough a compiling instruction, simulate, by using the childapplication simulator, an interface presented in a simulator displayregion of the child application developer tool in a case that a childapplication currently developed is run in the second parent applicationbased on the child application running environment.

The computer device may monitor the child application simulator by usingthe child application simulator plug-in. The user may perform a presetsimulation operation on the child application simulator. The computerdevice may generate, in response to the preset simulation operationbeing detected by using the child application simulator plug-in, asimulation interface corresponding to the preset simulation operation byusing the child application simulator plug-in. The computer device maycover, for display, the simulation interface generated by using thechild application simulator plug-in on the simulator display region.That is, the simulation interface generated by the child applicationsimulator plug-in covers the interface of which presentation issimulated by the child application simulator.

In an embodiment, a size of a display region of the child applicationsimulator plug-in is consistent with a size of the child applicationsimulator display region. In this case, the simulation interface canentirely cover the interface of which presentation is simulated by thechild application simulator.

In another embodiment, the size of a display region of the childapplication simulator plug-in may be alternatively different from thesize of the child application simulator display region.

In an embodiment, a simulation interface corresponding to a presetsimulation operation may be preset in the child application simulatorplug-in, and in response to the preset simulation operation beingdetected, the simulation interface corresponding to the presetsimulation operation is obtained and loaded.

In another embodiment, interface generation logic corresponding to thepreset simulation operation is already set in the child applicationsimulator plug-in, and in response to the preset simulation operationbeing detected, the interface generation logic corresponding to thepreset simulation operation is called to generate the correspondingsimulation interface.

In an embodiment, in response to a display end instruction for thesimulation interface being detected by using the child applicationsimulator plug-in, display of the simulation interface is stopped byusing the child application simulator plug-in.

The display end instruction is used for instructing display of thesimulation interface to end. It may be understood that, the user mayselect a button (e.g., a “Return” button or a “Hide” button) configuredto trigger to end display in the simulation interface, and the computerdevice may generate a display end instruction after detecting theoperation.

In an embodiment, the computer device may hide the simulation interfaceby using the child application simulator plug-in, for example, may setthe simulation interface to a non-display state. In another embodiment,the computer device may alternatively remove the simulation interface byusing the child application simulator plug-in, to end displaying thesimulation interface.

FIG. 6 is a schematic diagram of display of a child applicationsimulator plug-in according to an embodiment. Referring to FIG. 6 , thechild application simulator plug-in covers over a simulator displayregion 602 in the child application developer tool in a form of a view,and a size of a display region 604 of the child application simulatorplug-in is consistent with a size of the simulator display region 602.It may be understood that, the interface presented through a displayregion of the child application simulator plug-in may be displayed orhidden correspondingly according to a detected action acting on thechild application simulator. If the interface presented by the childapplication simulator plug-in is hidden, an interface simulated by thechild application simulator is presented in the interface of the childapplication developer tool.

In the foregoing embodiment, a customized and personalized interface ofthe second parent application is displayed by using the childapplication simulator plug-in. In addition, the child applicationsimulator plug-in has a customized monitoring function, and can bedisplayed when necessary according to its own requirements, therebyimproving the flexibility and accuracy of display.

In an embodiment, the preset simulation operation includes simulatingexecution of an operation on the second parent application. In thisembodiment, the generating, in response to a preset simulation operationperformed for the child application simulator being detected, asimulation interface corresponding to the preset simulation operation byusing the child application simulator plug-in includes: simulating, inresponse to the simulating execution of the operation on the secondparent application being detected by using the child applicationsimulator plug-in, display of an interface of the second parentapplication corresponding to the detected operation by using the childapplication simulator plug-in.

The simulating execution of the operation on the second parentapplication is simulating an operation performed on the second parentapplication. It may be understood that, different operations of whichexecution is simulated may correspond to different interfaces of thesecond parent application of which presentation is simulated.

In an embodiment, the interface of the child application simulatorincludes a simulation operation entry, and the user may perform atrigger operation on the simulation operation entry, to trigger todisplay a simulation operation option set. The simulation operationoption set includes an option of simulating execution of an operation onthe second parent application. The user may trigger the option ofsimulating execution of an operation on the second parent application,to simulate execution of an operation on the second parent application.The computer device may monitor, application by using the childapplication simulator plug-in, the simulating execution of the operationon the second parent application, and simulate display of an interfaceof the second parent application corresponding to the detected operationby using the child application simulator plug-in.

It may be understood that, the simulation operation option set mayalternatively include other simulation operation options. The othersimulation operation options may include at least one of an option ofsimulating an operation of returning to a previous interface, an optionof simulating an operation of returning to a home page, and the like.

In an embodiment, the second parent application may be an enterpriseinstant messaging client. The simulating execution of the operation onthe second parent application includes simulating execution of anenterprise selection operation on the enterprise instant messagingclient Therefore, the simulation operation option set may include anoption of simulating execution of the enterprise selection operation ofthe enterprise instant messaging client. In this embodiment, in responseto the simulating execution of the enterprise selection operation on theenterprise instant messaging client being detected, display of anenterprise selection interface corresponding to the enterprise selectionoperation is simulated by using the child application simulator plug-in.

The enterprise selection interface is a simulation interface used forselecting an enterprise. At least one enterprise account is presented inthe enterprise selection interface. The enterprise account may be anidentifier used for determining the enterprise, may be an accountregistered by the enterprise on the enterprise instant messaging client,or may be an enterprise name or the like.

It may be understood that, when the enterprise selection interfaceincludes a plurality of enterprise accounts, the user may perform aselection switching operation on the enterprise accounts presented inthe enterprise selection interface, and the computer device may performswitching between enterprise accounts according to the switchingoperation.

In an embodiment, the enterprise selection interface further includes achild application return entry. The child application return entry isused for returning, after being triggered, to simulating an interfacepresented when a child application currently developed is run in thesecond parent application based on the child application runningenvironment.

FIG. 7 is a schematic diagram of customized display according to anembodiment. An example of developing a child application of anenterprise instant messaging application (APP) is used in FIG. 7 forexemplary description. Diagram (a) of FIG. 7 shows an interface L₁ ofwhich presentation is simulated by the child application simulator,where “Hello world” in the interface L₁ is a welcome message by default,which is translated into Chinese as “

,

”. The user may perform a trigger operation on a simulation operationentry in diagram (b), to trigger display of a simulation operationoption set 702. “Home” means a home page, and a “Home” option means anoption of simulating an operation of returning to the home page. A“Return” option is an option of simulating an operation of returning toa previous interface, and a “Select enterprise” option is an option ofperforming an enterprise selection operation in the enterprise instantmessaging APP. That the user clicks “Select enterprise” is equivalent tosimulating execution of an enterprise selection operation for theenterprise instant messaging client, and the child application simulatorplug-in generates an enterprise selection interface L₂. The enterpriseselection interface L₂ covers the interface L₁ in diagram (a) for visualdisplay. The enterprise selection interface L₂ displays a plurality ofselectable enterprise accounts (e.g., an enterprise 1 and an enterprise2). The enterprise account is equivalent to an identifier of a childapplication in the enterprise instant messaging application. Diagram (c)and diagram (d) show that the user may perform an account switchingoperation on the enterprise accounts in the enterprise selectioninterface. The user may alternatively trigger a “Return to childapplication” option in the enterprise selection interface, to return tothe interface L₁ in diagram (a).

In the foregoing embodiment, execution of an operation of the secondparent application can be simulated by using the child applicationsimulator plug-in, so that a corresponding interface of the secondparent application can be displayed in a display region of the childapplication simulator. Complex exit and entry operations do not need tobe performed, to avoid a waste of computer resources caused by that thecomputer device receives and responds to complex operations.

In an embodiment, the performing development processing for the childapplication of the second parent application in the child applicationrunning environment includes: monitoring the child application developertool by using the child application simulator plug-in in the childapplication running environment; processing, after a call request for atarget interface in the child application developer tool is detected byusing the child application simulator plug-in, the call request by usingthe child application simulator plug-in, to obtain a processing result;and returning the processing result as an interface call result by usingthe child application developer tool.

The target interface is a predesignated interface that needs to bemonitored. It may be understood that, the target interface is aninterface that requires customized processing when being called. Thatis, because call processing of the second parent application for thetarget interface is different from call processing of the first parentapplication for the target interface, the customized processing needs tobe performed.

Application programming interfaces (API) are some predefined functions,and an objective thereof is to provide a capability for an applicationprogram and a developer to access a set of routines based on specificsoftware or hardware without accessing source code or understandingdetails of an internal working mechanism.

In an embodiment, the target interface may include an interfaceproviding user login information. The user login information refers touser information that a user needs to provide when logging in to a childapplication. In an embodiment, the user login information may includeinformation related to the login such as a nickname and an avatar theuser.

It may be understood that, generally, the user login information used bythe child application is user login information corresponding to aparent application obtained by calling an interface. However, if thesecond parent application and the first parent application are differentapplications, the first parent application and the second parentapplication may be different in terms of user login information.Therefore, customized processing corresponding to the second parentapplication needs to be performed on the calling of the interface, tocorrectly obtain the user login information of the second parentapplication.

In another embodiment, the target interface may further include aninterface used for obtaining personal data (e.g., an address of a user),friend information, and the like of a user. It may be understood that,different parent applications may be different in terms of personal dataand friend information of a user. Therefore, the customized processingcorresponding to the second parent application needs to be performed onthe calling of the interfaces, to obtain correct information. This isonly exemplary description herein. The target interface includes, but isnot limited to, the listed interfaces.

In an embodiment, during development processing for the childapplication of the second parent application in the child applicationrunning environment, calling of an interface in the child applicationdeveloper tool is included. The computer device may monitor the callingof the interface in the child application developer tool by using thechild application simulator plug-in, and after detecting, by using thechild application simulator plug-in, a call request of an interfacecaller for the target interface in the child application developer tool,the computer device may process the call request by using presetprocessing logic in the child application simulator plug-in to obtain aprocessing result. The computer device may return the processing resultas an interface call result to a call result receiver by using the childapplication developer tool.

That is, the interface call result returned by the child applicationdeveloper tool to the call result receiver is a processing resultobtained by processing the call request for the target interface by thechild application simulator plug-in.

The interface caller is a party request to call an interface. The callresult receiver is a party receiving the interface call result.

It may be understood that, the interface caller and the call resultreceiver may be different objects.

In an embodiment, the interface caller may be a view layer, and the callresult receiver may be a logic layer. In another embodiment,alternatively, the interface caller may be a logic layer, and the callresult receiver may be a view layer. It may be understood that, the viewlayer and the logic layer may communicate with each other by calling theinterfaces in the child application developer tool.

In another embodiment, the interface caller and the call result receivermay be a same object, that is, both may be a view layer, or both may bea logic layer.

The view layer (view) can load and display an interface. In anembodiment, the view layer may be a WebView. The WebView can load anddisplay a web page, and may be regarded as a browser.

The logic layer (AppService) is a place in which event logic isprocessed. It may be understood that, a function of the logic layer isto process data, transmit the processed data to the view layer, and alsoreceive event feedback from the view layer. The view layer may perform acorresponding display update according to the data processed by thelogic layer.

It may be understood that, a child application system framework includesthe view layer and the logic layer, that is, the view layer and thelogic layer are components of the child application. The childapplication base library loaded in step S208 provides a runningenvironment for the view layer and the logic layer of the childapplication.

In an embodiment, the logic layer of the child application is a set ofJavaScript (js) script files. The view layer of the child application iscompleted by WeiXin mark language (WXML) and WeiXin style sheet (WXSS)files. In an embodiment, the processing, after a call request for atarget interface in the child application developer tool is detected byusing the child application simulator plug-in, the call request by usingthe child application simulator plug-in, to obtain a processing resultincludes: intercepting, in response to the call request for the targetinterface in the child application developer tool being detected byusing the child application simulator plug-in, the call request by usingthe child application simulator plug-in, and processing the call requestby using the child application simulator plug-in, to obtain theprocessing result; or intercepting, after the call request for thetarget interface in the child application developer tool is detected byusing the child application simulator plug-in, a result returned by thetarget interface in response to the call request by using the childapplication simulator plug-in, and processing the call request by usingthe child application simulator plug-in, to obtain the processingresult.

It may be understood that, intercepting means blocking. Therefore,intercepting a call request means that the call request is not deliveredto a target interface any more. Intercepting a result returned by thetarget interface means that the result returned by the target interfaceis not notified to the child application developer tool.

In an embodiment, before the child application developer tooldistributes the call request to the target interface, the computerdevice intercepts the call request by using the child applicationsimulator plug-in without notifying the target interface of the callrequest, where the call request is processed by the child applicationsimulator plug-in, and returns an obtained processing result as aninterface call result. The child application developer tool receives theprocessing result returned by the child application simulator plug-in.

In another embodiment, the computer device may alternatively not performinterception when the child application developer tool distributes thecall request to the target interface. In this case, the target interfacemay process the call request and return a corresponding result. Whendetecting a result returned by the target interface, the childapplication simulator plug-in intercepts the returned result, to preventthe result from being transferred to the child application developertool. The computer device may process the call request for the targetinterface by using the child application simulator plug-in, to obtainthe processing result. Then, the child application simulator plug-in mayreturn the processing result obtained through processing of the childapplication simulator plug-in to the child application developer tool.

It may be understood that, the entire processing process is transparentto the child application developer tool. That is, the child applicationdeveloper tool does not learn that the call for the target interface isintercepted. In response to a call request for a non-target interfacebeing detected by the child application simulator plug-in, the childapplication developer tool may directly transmit the call request to anon-target interface, and directly return an interface call resultreturned by the non-target interface to the call result receiver.

FIG. 8 is a schematic diagram of customized processing on calling of atarget interface according to an embodiment. Referring to FIG. 8 , theview layer and the logic layer may both transmit an interface callrequest to the child application developer tool, and may both receive aninterface call result. An example in which the logic layer initiates acall request for the target interface is used for exemplary description.In FIG. 8 , the view layer and the logic layer communicate with thechild application developer tool through a communication bridge(Jsbridge). It is assumed that, in a scenario in which a user logs in,the logic layer transmits a call request to the target interface in thechild application developer tool, and the child application simulatorplug-in may intercept and process the call request, to obtain user logininformation corresponding to the second parent application. The childapplication simulator plug-in may return the user login information tothe child application developer tool, and the child applicationdeveloper tool may return the user login information to the view layer.It may be understood that, if the child application simulator plug-indoes not intercept the call request, the child application developertool may directly call the target interface to obtain the user logininformation corresponding to the first parent application, and returnthe user login information to the view layer for display. The user logininformation corresponding to the second parent application may bedifferent from the user login information corresponding to the firstparent application, for example, may be different in terms of anickname, an avatar, and the like of a user. Therefore, the customizedprocessing can be implemented on calling of the target interface byusing the child application simulator plug-in, to obtain more accurateinformation.

In an embodiment, after a call request for a target interface in thechild application developer tool is detected by using the childapplication simulator plug-in, the call request is processed by usingthe child application simulator plug-in, to obtain a processing result,and the processing result is returned as an interface call result byusing the child application developer tool. The customized processing isimplemented on calling of the interface, so that information that ismore adapted to the child application of the second parent applicationcan be obtained during calling of the interface, thereby satisfying somelogic in which the second parent application is different from the firstparent application. Further, a dedicated child application of the secondparent application can be developed more accurately.

In an embodiment, the performing development processing for the childapplication of the second parent application in the child applicationrunning environment further includes: intercepting, in response tooccurrence of a target event in the child application developer toolbeing detected, the target event by using the child applicationsimulator plug-in; performing processing corresponding to the targetevent by using the child application simulator plug-in; and triggering,after the child application simulator plug-in performs the processingcorresponding to the target event, a system event according to thetarget event by using the child application developer tool.

The target event is a predesignated event that needs to be monitored.The event is an operation that may be recognized by a control. Forexample, pressing a Confirm button, selecting a radio button or a checkbox, and the like are all events.

In an embodiment, the target event may include an event that the userclicks Clear buffer. It may be understood that, the target event mayalternatively include other events for which the child applicationsimulator plug-in needs to perform corresponding processing.

In an embodiment, the user may perform a corresponding operation on thechild application developer tool, to trigger to generate a correspondingevent. The computer device may monitor, by using the child applicationsimulator plug-in, an event occurring in the child application developertool, and intercept, in response to occurrence of a target event in thechild application developer tool being detected by using the childapplication simulator plug-in, the target event by using the childapplication simulator plug-in, so that the target event is nottransmitted to an upper layer object by the child application developertool. The computer device may perform processing corresponding to thetarget event by using the child application simulator plug-in. After thechild application simulator plug-in performs the processingcorresponding to the target event, the computer device may transmit thetarget event to an upper layer by using the child application developertool, to trigger a system event of the child application.

The system event is an event that the child application needs toperform. That is, the system event is an event that the view layer andthe logic layer in the child application need to perform.

It may be understood that, the computer device may transmit, after thechild application simulator plug-in performs the processingcorresponding to the target event, the target event to the view layerand the logic layer by using the child application developer tool.

FIG. 9 is a schematic diagram of customized processing on a target eventaccording to an embodiment. An example in which the target event is aclear-buffer event is used for exemplary description. The childapplication simulator plug-in may monitor the child applicationdeveloper tool, and in response to the clear-buffer event occurring, thechild application simulator plug-in may intercept the event, and alsoperform clear-buffer processing. After clearing a buffer, the childapplication simulator plug-in may notify the child application developertool, and the child application developer tool may continue to transmitthe clear-buffer event to the view layer and the logic layer, to triggerthe view layer and the logic layer to perform the clear-bufferprocessing. It may be understood that, when a non-target event occurs inthe child application developer tool, the child application developertool may directly transmit the non-target event to the view layer andthe logic layer.

In the foregoing embodiment, customized processing on data transmissionis implemented by monitoring events occurred in the developer tool, sothat corresponding processing can be also performed in the childapplication simulator plug-in, to ensure the consistency of data.Further, a dedicated child application of the second parent applicationcan be developed more accurately.

In an embodiment, the configuration file includes information about achild application base library version of the second parent application.The method further includes: displaying a set of base library versionoptions in the interface of the child application developer toolaccording to the information about the child application base libraryversion; obtaining a target base library version option selected fromthe set; obtaining a target child application base library correspondingto the target base library version option from the configuration file ofthe child application simulator plug-in by using the child applicationdeveloper tool; and switching the current child application runningenvironment to a child application running environment created byloading the target child application base library.

The information about the child application base library version of thesecond parent application refers to information describing the baselibrary version of the child application of the second parentapplication. The target base library version is a base library versionselected by the user, that is, a base library version that the userwants to use.

In an embodiment, the computer device may display the set of baselibrary version options in the interface of the child applicationdeveloper tool. The user may select a target base library version optionfrom the set. The computer device may obtain a target child applicationbase library corresponding to the target base library version optionfrom the configuration file of the child application simulator plug-inby using the child application developer tool. Therefore, the computerdevice may load the target child application base library, to create acorresponding child application running environment, and switch thecurrent child application running environment to the newly created childapplication running environment.

It may be understood that, when creating a child application runningenvironment for the first time, the computer device may obtain and loada child application base library that corresponds to a base libraryversion by default, to create a child application running environment ofthe second parent application. Subsequently, the user may flexiblyselect different base library versions, to flexibly switch childapplication running environments, to perform development adjustment fordifferent versions.

In an embodiment, the computer device may display a version selectionentry in the interface of the child application developer tool, and theuser performs a trigger operation on the version selection entry, todisplay a set of base library version options. The version selectionentry is configured to display a set of base library version optionsafter being triggered.

In an embodiment, a toolbar of the interface of the child applicationdeveloper tool includes an option for triggering to display the versionselection entry. After the user performs a trigger operation on theoption, the computer device may display, in response to the triggeroperation, the version selection entry in the interface of the childapplication developer tool.

FIG. 10 is a diagram of a base library version selection interfaceaccording to an embodiment. Referring to FIG. 10 , after a user selectsan option 1002 in a toolbar, the computer device may display a versionselection entry 1004 in the interface of the child application developertool, the user may trigger the version selection entry 1004, and thecomputer device then displays a set 1006 of base library versionoptions. The user may select a target base library version option fromthe set. The user in FIG. 10 selects a version 1.2.0.

In the foregoing embodiments, different base library versions areselected, so that the compatibility and debugging processing ofdifferent versions are achieved. In addition, by directly selecting atarget base library version from the set of the base library versionoptions displayed in the interface, child application runningenvironments corresponding to different versions of base libraries maybe switched rapidly, thereby avoiding complex operations and improvingthe development efficiency. In addition, because complex operations arenot needed, a waste of computer resources caused by that the computerdevice receives and responds to complex operations can be avoided.

As shown in FIG. 11 , in an embodiment, a child application developmentapparatus 1100 is provided. The apparatus 1100 includes a display module1102, an environment creation module 1104, and a development module1106. One or more modules of the apparatus 1100 can be implemented byprocessing circuitry, software, or a combination thereof, for example.

The display module 1102 is configured to display an interface of a childapplication developer tool, the child application developer tool beingobtained by performing customized extension corresponding to developmentprocessing for a child application of a second parent application basedon a native child application developer tool of a first parentapplication, the second parent application being different from thefirst parent application. The environment creation module 1104 isconfigured to receive a development trigger instruction for the childapplication of the second parent application through the interface;obtain, in response to the development trigger instruction, a childapplication base library of the second parent application by using thechild application developer tool; and create a child application runningenvironment of the second parent application by loading the childapplication base library. The development module 1106 is configured toperform development processing for the child application of the secondparent application in the child application running environment.

In an embodiment, the display module 1102 is further configured todisplay a mode option set in the interface, the mode option setincluding an option of a child application development mode of thesecond parent application; and generate, in response to a selectionoperation on the option in the mode option set being detected, thedevelopment trigger instruction for the child application of the secondparent application.

In an embodiment, the child application developer tool is obtained afterinstalling a child application simulator plug-in of the second parentapplication in the native child application developer tool of the firstparent application. The child application simulator plug-in isconfigured to implement customized development processing for the childapplication of the second parent application. The environment creationmodule 1104 is further configured to select the child application baselibrary of the second parent application from a configuration file ofthe child application simulator plug-in by using the child applicationdeveloper tool.

In an embodiment, the display module 1102 is further configured todisplay a plug-in management interface provided by the native childapplication developer tool of the first parent application, the plug-inmanagement interface including an identifier of the child applicationsimulator plug-in of the second parent application.

As shown in FIG. 12 , in this embodiment, the apparatus 1100 furtherincludes: a plug-in installation module 1103, configured to install, inresponse to a trigger operation on the identifier being detected, thechild application simulator plug-in corresponding to the identifier tothe native child application developer tool.

In an embodiment, the native child application developer tool includes achild application simulator. The development module 1106 is furtherconfigured to simulate, in a simulator display region of the childapplication developer tool by using the child application simulator, aninterface presented in a case that a child application currentlydeveloped is run on the second parent application based on the childapplication running environment; generating, in response to a presetsimulation operation performed for the child application simulator beingdetected, a simulation interface corresponding to the preset simulationoperation by using the child application simulator plug-in; andcovering, for display, the simulation interface on the interface ofwhich presentation is simulated.

In an embodiment, the preset simulation operation includes simulatingexecution of an operation on the second parent application. Thedevelopment module 1106 is further configured to simulate, in responseto the simulating execution of the operation on the second parentapplication being detected by using the child application simulatorplug-in, display of an interface of the second parent applicationcorresponding to the detected operation by using the child applicationsimulator plug-in.

In an embodiment, the development module 1106 is further configured tomonitor the child application developer tool by using the childapplication simulator plug-in in the child application runningenvironment; process, after a call request for a target interface in thechild application developer tool is detected, the call request by usingthe child application simulator plug-in, to obtain a processing result;and return the processing result as an interface call result by usingthe child application developer tool.

In an embodiment, the development module 1106 is further configured tointercept, in response to the call request for the target interface inthe child application developer tool being detected, the call request byusing the child application simulator plug-in, and processing the callrequest by using the child application simulator plug-in, to obtain theprocessing result; or intercept, by using the child applicationsimulator plug-in after the call request for the target interface in thechild application developer tool is detected, a result returned by thetarget interface in response to the call request, and process the callrequest by using the child application simulator plug-in, to obtain theprocessing result.

In an embodiment, the development module 1106 is further configured tomonitor the child application developer tool by using the childapplication simulator plug-in in the child application runningenvironment; intercept, in response to occurrence of a target event inthe child application developer tool being detected, the target event byusing the child application simulator plug-in; perform processingcorresponding to the target event by using the child applicationsimulator plug-in; and trigger, after the child application simulatorplug-in performs the processing corresponding to the target event, asystem event according to the target event by using the childapplication developer tool.

In an embodiment, the configuration file includes information about achild application base library version of the second parent application.The display module 1102 is further configured to display a set of baselibrary version options in the interface of the child applicationdeveloper tool according to the information; and obtain a target baselibrary version option selected from the set. The environment creationmodule 1104 is further configured to obtain a target child applicationbase library corresponding to the target base library version optionfrom the configuration file of the child application simulator plug-inby using the child application developer tool; and switch the currentchild application running environment to a child application runningenvironment created by loading the target child application baselibrary.

FIG. 13 is a schematic diagram of an internal structure of a computerdevice according to an embodiment. Referring to FIG. 13 , the computerdevice may be the terminal 110 in FIG. 1 . The computer device includesprocessing circuitry (e.g., a processor), a memory, a network interface,a display screen, and an input apparatus that are connected by using asystem bus. The memory includes a non-volatile storage medium and aninternal memory. The non-volatile storage medium of the computer devicemay store an operating system and a computer program. The computerprogram, when executed, may cause the processor to perform a childapplication development method. The processor of the computer device isconfigured to provide calculation and control capabilities, to supportrunning of the entire computer device. The internal memory may store acomputer program. The computer program, when executed by the processor,may cause the processor to perform a child application developmentmethod. The network interface of the computer device is configured toperform network communication. The display screen of the computer devicemay be a liquid crystal display screen or an electronic ink displayscreen. The input apparatus of the computer device may be a touch layercovering the display screen, or may be a key, a trackball, or a touchpad disposed on a housing of the computer device, or may be an externalkeyboard, a touch pad, a mouse, or the like.

A person skilled in the art may understand that, the structure shown inFIG. 13 is only a block diagram of a part of a structure related to asolution of this disclosure and does not limit the computer device towhich the solution of this disclosure is applied. Specifically, thecomputer device may include more or fewer members than those in thedrawings, or include a combination of some members, or include differentmember layouts.

In an embodiment, the child application development apparatus providedin this disclosure may be implemented in a form of a computer program.The computer program may be run on the computer device shown in FIG. 13, and the non-volatile storage medium of the computer device may storeprogram modules constituting the child application developmentapparatus, for example, the display module 1102, the environmentcreation module 1104, and the development module 1106 shown in FIG. 11 .The computer program constituted by the program modules is used forcausing the computer device to perform the operations in the childapplication development method in the embodiments of this disclosure.For example, the computer device may display an interface of a childapplication developer tool by using the display module 1102 in the childapplication development apparatus 1100 shown in FIG. 11 . The childapplication developer tool is obtained by performing customizedextension corresponding to development processing for a childapplication of a second parent application based on a native childapplication developer tool of a first parent application. The secondparent application is different from the first parent application. Thecomputer device may receive a development trigger instruction for thechild application of the second parent application through the interfaceby using the environment creation module 1104; obtain, in response tothe development trigger instruction, a child application base library ofthe second parent application by using the child application developertool; and create a child application running environment of the secondparent application by loading the child application base library. Thecomputer device may perform development processing for the childapplication of the second parent application in the child applicationrunning environment by using the development module 1106.

In an embodiment, a computer device is provided, including a memory anda processor, the memory storing a computer program, the computerprogram, when executed by the processor, causing the processor toperform the following operations: displaying an interface of a childapplication developer tool, the child application developer tool beingobtained by performing customized extension corresponding to developmentprocessing for a child application of a second parent application basedon a native child application developer tool of a first parentapplication, the second parent application being different from thefirst parent application; receiving a development trigger instructionfor the child application of the second parent application through theinterface; obtaining, in response to the development triggerinstruction, a child application base library of the second parentapplication by using the child application developer tool; and creatinga child application running environment of the second parent applicationby loading the child application base library; and performingdevelopment processing for the child application of the second parentapplication in the child application running environment.

In an embodiment, the computer program, when executed by the processor,causes the processor to perform the following operations: displaying amode option set in the interface, the mode option set including anoption of a child application development mode of the second parentapplication; and generating, in response to a selection operation on theoption in the mode option set being detected, the development triggerinstruction for the child application of the second parent application.

In an embodiment, the child application developer tool is obtained afterinstalling a child application simulator plug-in of the second parentapplication in the native child application developer tool of the firstparent application. The child application simulator plug-in isconfigured to implement customized development processing for the childapplication of the second parent application. The computer program, whenexecuted by the processor, causes the processor to perform the followingoperation: selecting the child application base library of the secondparent application from a configuration file of the child applicationsimulator plug-in by using the child application developer tool.

In an embodiment, the computer program, when executed by the processor,causes the processor to perform the following operations: displaying aplug-in management interface provided by the native child applicationdeveloper tool of the first parent application, the plug-in managementinterface including an identifier of the child application simulatorplug-in of the second parent application; and installing, in response toa trigger operation on the identifier being detected, the childapplication simulator plug-in corresponding to the identifier to thenative child application developer tool, to obtain the child applicationdeveloper tool.

In an embodiment, the native child application developer tool includes achild application simulator. The computer program, when executed by theprocessor, causes the processor to perform the following operations:simulating, by using the child application simulator, an interfacepresented in a simulator display region of the child applicationdeveloper tool in a case that a child application currently developed isrun on the second parent application based on the child applicationrunning environment; generating, in response to a preset simulationoperation performed for the child application simulator being detected,a simulation interface corresponding to the preset simulation operationby using the child application simulator plug-in; and covering, fordisplay, the simulation interface on the interface of which presentationis simulated.

In an embodiment, the preset simulation operation includes simulatingexecution of an operation on the second parent application. The computerprogram, when executed by the processor, causes the processor to performthe following operation: simulating, in response to the simulatingexecution of the operation on the second parent application beingdetected by using the child application simulator plug-in, display of aninterface of the second parent application corresponding to the detectedoperation by using the child application simulator plug-in.

In an embodiment, the computer program, when executed by the processor,causes the processor to perform the following operations: monitoring thechild application developer tool by using the child applicationsimulator plug-in in the child application running environment;processing, after a call request for a target interface in the childapplication developer tool is detected, the call request by using thechild application simulator plug-in, to obtain a processing result; andreturning the processing result as an interface call result by using thechild application developer tool.

In an embodiment, the computer program, when executed by the processor,causes the processor to perform the following operation: intercepting,in response to the call request for the target interface in the childapplication developer tool being detected, the call request by using thechild application simulator plug-in, and processing the call request byusing the child application simulator plug-in, to obtain the processingresult; or intercepting, by using the child application simulatorplug-in after the call request for the target interface in the childapplication developer tool is detected, a result returned by the targetinterface in response to the call request, and process the call requestby using the child application simulator plug-in, to obtain theprocessing result.

In an embodiment, the computer program, when executed by the processor,causes the processor to perform the following operations: monitoring thechild application developer tool by using the child applicationsimulator plug-in in the child application running environment;intercepting, in response to occurrence of a target event in the childapplication developer tool being detected, the target event by using thechild application simulator plug-in; performing processing correspondingto the target event by using the child application simulator plug-in;and triggering, after the child application simulator plug-in performsthe processing corresponding to the target event, a system eventaccording to the target event by using the child application developertool.

In an embodiment, the configuration file includes information about achild application base library version of the second parent application.The computer program, when executed by the processor, causes theprocessor to perform the following operations: displaying a set of baselibrary version options in the interface of the child applicationdeveloper tool according to the information; obtaining a target baselibrary version option selected from the set; obtaining a target childapplication base library corresponding to the target base libraryversion option from the configuration file of the child applicationsimulator plug-in by using the child application developer tool; andswitching the current child application running environment to a childapplication running environment created by loading the target childapplication base library.

In an embodiment, a computer-readable storage medium, such as anon-transitory computer-readable storage medium, is provided, storing acomputer program, the computer program, when executed by a processor,causing the processor to perform the following steps: displaying aninterface of a child application developer tool, the child applicationdeveloper tool being obtained by performing customized extensioncorresponding to development processing for a child application of asecond parent application based on a native child application developertool of a first parent application, the second parent application beingdifferent from the first parent application; receiving a developmenttrigger instruction for the child application of the second parentapplication through the interface; obtaining, in response to thedevelopment trigger instruction, a child application base library of thesecond parent application by using the child application developer tool;and creating a child application running environment of the secondparent application by loading the child application base library; andperforming development processing for the child application of thesecond parent application in the child application running environment.

In an embodiment, the computer program, when executed by the processor,causes the processor to perform the following operations: displaying amode option set in the interface, the mode option set including anoption of a child application development mode of the second parentapplication; and generating, in response to a selection operation on theoption in the mode option set being detected, the development triggerinstruction for the child application of the second parent application.

In an embodiment, the child application developer tool is obtained afterinstalling a child application simulator plug-in of the second parentapplication in the native child application developer tool of the firstparent application. The child application simulator plug-in isconfigured to implement customized development processing for the childapplication of the second parent application. The computer program, whenexecuted by the processor, causes the processor to perform the followingoperation: selecting the child application base library of the secondparent application from a configuration file of the child applicationsimulator plug-in by using the child application developer tool.

In an embodiment, the computer program, when executed by the processor,causes the processor to perform the following operations: displaying aplug-in management interface provided by the native child applicationdeveloper tool of the first parent application, the plug-in managementinterface including an identifier of the child application simulatorplug-in of the second parent application; and installing, in response toa trigger operation on the identifier being detected, the childapplication simulator plug-in corresponding to the identifier to thenative child application developer tool, to obtain the child applicationdeveloper tool.

In an embodiment, the native child application developer tool includes achild application simulator. The computer program, when executed by theprocessor, causes the processor to perform the following operations:simulating, by using the child application simulator, an interfacepresented in a simulator display region of the child applicationdeveloper tool in a case that a child application currently developed isrun on the second parent application based on the child applicationrunning environment; generating, in response to a preset simulationoperation performed for the child application simulator being detected,a simulation interface corresponding to the preset simulation operationby using the child application simulator plug-in; and covering, fordisplay, the simulation interface on the interface of which presentationis simulated.

In an embodiment, the preset simulation operation includes simulatingexecution of an operation on the second parent application. The computerprogram, when executed by the processor, causes the processor to performthe following operation: simulating, in response to the simulatingexecution of the operation on the second parent application beingdetected by using the child application simulator plug-in, display of aninterface of the second parent application corresponding to the detectedoperation by using the child application simulator plug-in.

In an embodiment, the computer program, when executed by the processor,causes the processor to perform the following operations: monitoring thechild application developer tool by using the child applicationsimulator plug-in in the child application running environment;processing, after a call request for a target interface in the childapplication developer tool is detected, the call request by using thechild application simulator plug-in, to obtain a processing result; andreturning the processing result as an interface call result by using thechild application developer tool.

In an embodiment, the computer program, when executed by the processor,causes the processor to perform the following operation: intercepting,in response to the call request for the target interface in the childapplication developer tool being detected, the call request by using thechild application simulator plug-in, and processing the call request byusing the child application simulator plug-in, to obtain the processingresult; or intercepting, by using the child application simulatorplug-in after the call request for the target interface in the childapplication developer tool is detected, a result returned by the targetinterface in response to the call request, and process the call requestby using the child application simulator plug-in, to obtain theprocessing result.

In an embodiment, the computer program, when executed by the processor,causes the processor to perform the following operations: monitoring thechild application developer tool by using the child applicationsimulator plug-in in the child application running environment;intercepting, in response to occurrence of a target event in the childapplication developer tool being detected, the target event by using thechild application simulator plug-in; performing processing correspondingto the target event by using the child application simulator plug-in;and triggering, after the child application simulator plug-in performsthe processing corresponding to the target event, a system eventaccording to the target event by using the child application developertool.

In an embodiment, the configuration file includes information about achild application base library version of the second parent application.The computer program, when executed by the processor, causes theprocessor to perform the following operations: displaying a set of baselibrary version options in the interface of the child applicationdeveloper tool according to the information; obtaining a target baselibrary version option selected from the set; obtaining a target childapplication base library corresponding to the target base libraryversion option from the configuration file of the child applicationsimulator plug-in by using the child application developer tool; andswitching the current child application running environment to a childapplication running environment created by loading the target childapplication base library.

“First”, “second”, “third”, and the like in the embodiments of thisdisclosure are merely used for distinction, and are not intended toconstitute a limitation in aspects of a size, an order, subordination,or the like.

It is to be understood that although the steps in the embodiments ofthis disclosure are not necessarily performed sequentially in a sequenceindicated by step numbers. Unless otherwise explicitly specified in thisdisclosure, execution of the steps is not strictly limited, and thesteps may be performed in other sequences. Moreover, at least some ofthe steps in each embodiment may include a plurality of sub-steps or aplurality of stages. The sub-steps or stages are not necessarilyperformed at the same moment but may be performed at different moments.Execution of the sub-steps or stages is not necessarily sequentiallyperformed, but may be performed in turn or alternately with other stepsor at least some of sub-steps or stages of other steps.

A person of ordinary skill in the art may understand that all or some ofprocedures of the method in the foregoing embodiments may be implementedby a computer program instructing relevant hardware. The program may bestored in a non-volatile computer-readable storage medium. When theprogram is executed, the procedures of the foregoing method embodimentsmay be implemented. References to the memory, the storage, the database,or other medium used in the embodiments provided in this disclosure mayall include a non-volatile or a volatile memory. The non-volatile memorymay include a read-only memory (ROM), a programmable ROM (PROM), anelectrically programmable ROM (EPROM), an electrically erasableprogrammable ROM (EEPROM), or a flash memory. The volatile memory mayinclude a random access memory (RAM) or an external high-speed cache. Byway of description rather than limitation, the RAM may be obtained in aplurality of forms, such as a static RAM (SRAM), a dynamic RAM (DRAM), asynchronous DRAM (SDRAM), a double data rate SDRAM (DDR SDRAM), anenhanced SDRAM (ESDRAM), a synchlink (Synchlink) DRAM (SLDRAM), a rambus(Rambus) direct RAM (RDRAM), a direct rambus dynamic RAM (DRDRAM), and arambus dynamic RAM (RDRAM).

The technical features in the foregoing embodiments may be combined invarious manners. For concise description, not all possible combinationsof the technical features in the embodiments are described. However,provided that combinations of the technical features do not conflictwith each other, the combinations of the technical features areconsidered as falling within the scope described in this specification.

The foregoing embodiments merely express several implementations of thisdisclosure. The descriptions thereof are relatively specific anddetailed, but are not to be understood as limitations to the scope ofthis disclosure. For a person of ordinary skill in the art, severaltransformations and improvements can be made without departing from theidea of this disclosure. These transformations and improvements belongto the protection scope of this disclosure.

What is claimed is:
 1. A child application development method, themethod comprising: displaying an interface of a child applicationdeveloper tool, the child application developer tool being a nativechild application developer tool including a first child applicationdevelopment mode in which a first running environment of a first parentapplication is provided, the native child application developer toolbeing configured with an extension of a second child applicationdevelopment mode in which a second running environment of a secondparent application is provided based on installation of a plug-in thatprovides the extension of the second parent application, the secondparent application being different from the first parent application andthe first running environment being different from the second runningenvironment; receiving a development instruction that indicates a userselection of the second child application development mode of the secondparent application via the interface; obtaining, in response to thedevelopment instruction, a child application base library of the secondparent application via the child application developer tool; creating achild application running environment of the second parent applicationby loading the child application base library; and performing, byprocessing circuitry, development processing for a child application ofthe second parent application in the child application runningenvironment, the development processing including development codeediting, development code debugging, and program releasing.
 2. Themethod according to claim 1, wherein the receiving comprises: displayinga mode option set in the interface, the mode option set including anoption of the second child application development mode of the secondparent application; and generating, in response to the user selection ofthe option in the mode option set, the development instruction for thechild application of the second parent application.
 3. The methodaccording to claim 1, wherein the plug-in that provides the extension ofthe second parent application is a child application simulator plug-inof the second parent application, the child application developer toolis obtained after installing the child application simulator plug-in ofthe second parent application in the native child application developertool of the first parent application, the child application simulatorplug-in is configured to implement the development processing for thechild application of the second parent application, and the obtainingincludes selecting the child application base library of the secondparent application from a configuration file of the child applicationsimulator plug-in via the child application developer tool.
 4. Themethod according to claim 3, wherein before the displaying, the methodfurther comprises: displaying a plug-in management interface provided bythe native child application developer tool of the first parentapplication, the plug-in management interface including an identifier ofthe child application simulator plug-in of the second parentapplication; and installing, in response to a user selection of theidentifier, the child application simulator plug-in corresponding to theidentifier in the native child application developer tool, to configurethe child application developer tool.
 5. The method according to claim3, wherein the native child application developer tool includes a childapplication simulator, and the performing includes: simulating, via thechild application simulator, an interface presented in a simulatordisplay region of the child application developer tool when the childapplication being developed is run on the second parent applicationbased on the child application running environment; generating, inresponse to a user selection of a preset simulation operation performedfor the child application simulator, a simulation interfacecorresponding to the preset simulation operation via the childapplication simulator plug-in; and covering, for display, the simulationinterface on the interface presented in the simulator display region. 6.The method according to claim 5, wherein the preset simulation operationincludes simulating execution of an operation on the second parentapplication; and the generating the simulation interface correspondingto the preset simulation operation includes simulating, in response tothe simulating execution of the operation on the second parentapplication being detected via the child application simulator plug-in,display of an interface of the second parent application correspondingto the detected operation via the child application simulator plug-in.7. The method according to claim 3, wherein the performing comprises:monitoring the child application developer tool via the childapplication simulator plug-in in the child application runningenvironment; processing, after a call request for a target interface inthe child application developer tool is detected, the call request viathe child application simulator plug-in, to obtain a processing result;and returning the processing result as an interface call result via thechild application developer tool.
 8. The method according to claim 7,wherein the processing comprises: intercepting, in response to the callrequest for the target interface in the child application developer toolbeing detected, at least one of the call request via the childapplication simulator plug-in or a result returned by the targetinterface in response to the call request; and processing the callrequest via the child application simulator plug-in, to obtain theprocessing result.
 9. The method according to claim 3, wherein theperforming comprises: monitoring the child application developer toolvia the child application simulator plug-in in the child applicationrunning environment; intercepting, in response to occurrence of a targetevent in the child application developer tool being detected, the targetevent via the child application simulator plug-in; performing processingcorresponding to the target event via the child application simulatorplug-in; and triggering, after the child application simulator plug-inperforms the processing corresponding to the target event, a systemevent according to the target event via the child application developertool.
 10. The method according to claim 3, wherein the configurationfile includes version information of a child application base libraryversion of the second parent application, and the method furtherincludes: displaying a set of base library version options in theinterface of the child application developer tool according to theversion information; obtaining a target base library version optionselected from the set of base library version options; obtaining atarget child application base library corresponding to the target baselibrary version option from the configuration file of the childapplication simulator plug-in via the child application developer tool;and switching to a child application running environment created byloading the target child application base library corresponding to thetarget base library version option.
 11. A child application developmentapparatus, comprising: processing circuitry configured to: display aninterface of a child application developer tool, the child applicationdeveloper tool being a native child application developer tool includinga first child application development mode in which a first runningenvironment of a first parent application is provided, the native childapplication developer tool being configured with an extension of asecond child application development mode in which a second runningenvironment of a second parent application is provided based oninstallation of a plug-in that provides the extension of the secondparent application, the second parent application being different fromthe first parent application and the first running environment beingdifferent from the second running environment; receive a developmentinstruction that indicates a user selection of the second childapplication development mode of the second parent application via theinterface; obtain, in response to the development instruction, a childapplication base library of the second parent application via the childapplication developer tool; create a child application runningenvironment of the second parent application by loading the childapplication base library; and perform development processing for a childapplication of the second parent application in the child applicationrunning environment, the development processing including developmentcode editing, development code debugging, and program releasing.
 12. Theapparatus according to claim 11, wherein the processing circuitry isconfigured to: display a mode option set in the interface, the modeoption set including an option of the second child applicationdevelopment mode of the second parent application; and generate, inresponse to the user selection of the option in the mode option set, thedevelopment instruction for the child application of the second parentapplication.
 13. The apparatus according to claim 11, wherein theplug-in that provides the extension of the second parent application isa child application simulator plug-in of the second parent application,the child application developer tool is obtained after the childapplication simulator plug-in of the second parent application isinstalled in the native child application developer tool of the firstparent application, the child application simulator plug-in isconfigured to implement the development processing for the childapplication of the second parent application, and the processingcircuitry is configured to select the child application base library ofthe second parent application from a configuration file of the childapplication simulator plug-in via the child application developer tool.14. The apparatus according to claim 13, wherein the processingcircuitry is configured to: before the interface is displayed, display aplug-in management interface provided by the native child applicationdeveloper tool of the first parent application, the plug-in managementinterface including an identifier of the child application simulatorplug-in of the second parent application; and install, in response to auser selection of the identifier, the child application simulatorplug-in corresponding to the identifier in the native child applicationdeveloper tool, to configure the child application developer tool. 15.The apparatus according to claim 13, wherein the native childapplication developer tool includes a child application simulator, andthe processing circuitry is configured to: simulate, via the childapplication simulator, an interface presented in a simulator displayregion of the child application developer tool when the childapplication being developed is run on the second parent applicationbased on the child application running environment; generate, inresponse to a user selection of a preset simulation operation performedfor the child application simulator, a simulation interfacecorresponding to the preset simulation operation via the childapplication simulator plug-in; and cover, for display, the simulationinterface on the interface presented in the simulator display region.16. The apparatus according to claim 15, wherein the preset simulationoperation includes simulating execution of an operation on the secondparent application, and the processing circuitry is configured tosimulate, in response to the simulating execution of the operation onthe second parent application being detected via the child applicationsimulator plug-in, display of an interface of the second parentapplication corresponding to the detected operation via the childapplication simulator plug-in.
 17. The apparatus according to claim 13,wherein the processing circuitry is configured to: monitor the childapplication developer tool via the child application simulator plug-inin the child application running environment; process, after a callrequest for a target interface in the child application developer toolis detected, the call request via the child application simulatorplug-in, to obtain a processing result; and return the processing resultas an interface call result via the child application developer tool.18. The apparatus according to claim 17, wherein the processingcircuitry is configured to: intercept, in response to the call requestfor the target interface in the child application developer tool beingdetected, at least one of the call request via the child applicationsimulator plug-in or a result returned by the target interface inresponse to the call request; and process the call request via the childapplication simulator plug-in, to obtain the processing result.
 19. Theapparatus according to claim 13, wherein the processing circuitry isconfigured to: monitor the child application developer tool via thechild application simulator plug-in in the child application runningenvironment; intercept, in response to occurrence of a target event inthe child application developer tool being detected, the target eventvia the child application simulator plug-in; perform processingcorresponding to the target event via the child application simulatorplug-in; and trigger, after the child application simulator plug-inperforms the processing corresponding to the target event, a systemevent according to the target event via the child application developertool.
 20. A non-transitory computer-readable storage medium, storinginstructions which when executed by a processor cause the processor toperform: displaying an interface of a child application developer tool,the child application developer tool being a native child applicationdeveloper tool including a first child application development mode inwhich a first running environment of a first parent application isprovided, the native child application developer tool being configuredwith an extension of a second child application development mode inwhich a second running environment of a second parent application isprovided based on installation of a plug-in that provides the extensionof the second parent application, the second parent application beingdifferent from the first parent application and the first runningenvironment being different from the second running environment;receiving a development instruction that indicates a user selection ofthe second child application development mode of the second parentapplication via the interface; obtaining, in response to the developmentinstruction, a child application base library of the second parentapplication via the child application developer tool; creating a childapplication running environment of the second parent application byloading the child application base library; and performing developmentprocessing for a child application of the second parent application inthe child application running environment, the development processingincluding development code editing, development code debugging, andprogram releasing.